package com.markerhub.shiro;

import com.markerhub.util.JwtUtils;
import io.jsonwebtoken.Jwt;
import org.apache.shiro.authc.AuthenticationToken;
import org.springframework.beans.factory.annotation.Autowired;

public class JwtToken implements AuthenticationToken {
    private String token;

    public JwtToken(String jwt) {
        this.token = jwt;
    }

    @Override
    public Object getPrincipal() {
        System.out.println("");
        return token;
    }

    @Override
    public Object getCredentials() {
        return token;
    }


}
